/**
 * Created by kevin on 2018/1/15.
 */
requirejs.config({
    // urlArgs:'v='+(new Date()).getTime(),//清楚缓存
    paths: {
        "css": '../lib/css.min',
        "jquery": '../lib/jquery.min',
        "bootstrap": '../lib/bootstrap.min',
        "jquery.bootstrap": '../lib/jquery.bootstrap.min',
        "jquery-ui": '../lib/jquery-ui.min',
        "lodash": '../lib/lodash.min',
        "angular": '../lib/angular.min',
        "icheck": '../../plugin/icheck/js/icheck.min',
        "ebSelect": '../../plugin/ebSelect/js/ebSelect',
        "datetimepicker": '../../plugin/datetime/jquery.datetimepicker.customer.min',
        "bootstrapValidator": '../../plugin/bootstrapvalidator/js/bootstrapValidator',
        "cityPicker": '../../plugin/cityPicker/js/city-picker',
        "cityPickerLvl2": '../../plugin/cityPicker/js/city-picker-lvl2',
        "ebpager": '../../plugin/pagination/js/ebpager',
        "ebpager-v2": '../../plugin/pagination-v2/js/ebpager',
        'generalAssembly': 'generalAssembly',
        'portData': 'portData',
        'ebSelectHandler': 'ebSelectHandler',
        'ebSelectAjax': 'ebSelectAjax',
        'ebSelectEvent': 'ebSelectEvent',
        'ebCityHandler': 'ebCityHandler',
        'zTreeAssembly': 'zTreeAssembly',
        "ztreeCore": '../../plugin/ztree/jquery.ztree.core.min',
        "ztreeExcheck": '../../plugin/ztree/jquery.ztree.excheck.min',
        "ztreeExedit": '../../plugin/ztree/jquery.ztree.exedit.min',
        "limarquee": '../../plugin/limarquee/js/jquery.liMarquee',
        "zoom": '../../plugin/zoom/zoom',
        "echarts": '../../plugin/echarts/echarts.common.min',
        "pinyin": '../lib/pinyin',
        "crypto-js": '../lib/crypto-js.min',
        "excelUtils": 'excelUtils'
    },
    baseUrl: CONTEXT_PATH + '/js/eb',
    waitSeconds: 0,
    shim: {
        'jquery': {
            exports: '$'
        },
        "angular": {
            exports: 'angular'
        },
        'bootstrap': {
            deps: ['jquery', 'jquery-ui']
        },
        'jquery.bootstrap': {
            deps: ['bootstrap']
        },
        'icheck': {
            deps: ['jquery', 'css!../../plugin/icheck/skins/all']
        },
        'ebSelect': {
            deps: ['jquery', 'css!../../plugin/ebSelect/css/ebSelect']
        },
        'datetimepicker': {
            deps: ['jquery', 'css!../../plugin/datetime/jquery.datetimepicker','css!../../css/custom.datetimepicker.css']
        },
        'bootstrapValidator': {
            deps: ['jquery', 'css!../../plugin/bootstrapvalidator/css/bootstrapValidator.min.css']
        },
        "cityPicker": {
            deps: ['jquery', 'css!../../plugin/cityPicker/css/city-picker', 'css!../../plugin/cityPicker/css/complementaryCity.css', 'css!../../plugin/cityPicker/css/main']
        },
        "cityPickerLvl2": {
            deps: ['jquery', 'css!../../plugin/cityPicker/css/city-picker', 'css!../../plugin/cityPicker/css/complementaryCity.css', 'css!../../plugin/cityPicker/css/main']
        },
        "limarquee": {
            deps: ['jquery', 'css!../../plugin/limarquee/css/liMarquee']
        },
        "ebpager": {
            deps: ['jquery', 'css!../../plugin/pagination/css/ebpager']
        },
        "ebpager-v2": {
            deps: ['jquery', 'css!../../plugin/pagination-v2/css/ebpager']
        },
        "generalAssembly": {
            deps: ['jquery', 'cityPicker', 'ebSelect','cityPickerLvl2']
        },
        "portData": {
            deps: ['jquery']
        },
        "ebSelectHandler": {
            deps: ['jquery']
        },
        "ebSelectEvent": {
            deps: ['jquery']
        },
        "ebSelectAjax": {
            deps: ['jquery']
        },
        'ebCityHandler': {
            deps: ['jquery']
        },
        "zTreeAssembly": {
            deps: ['jquery', 'css!../../plugin/ztree/metroStyle/metroStyle']
        },
        "zoom": {
        	deps: ['jquery', 'css!../../plugin/zoom/zoom']
        },
        "excelUtils":{
        	deps: ['jquery']
        }
    }
});

